<script>
	export default {
		onLaunch: function() {
			console.log('App Launch');
			
			uni.addInterceptor('navigateTo', {success(e) {
				
					if (typeof WeixinJSBridge == 'undefined') {
						if (document.addEventListener) {
							WeixinJSBridge.call('hideOptionMenu')
						} else if (document.attachEvent) {
							document.attachEvent('WeixinJSBridgeReady', this.onBridgeReady);
							document.attachEvent('onWeixinJSBridgeReady', this.onBridgeReady);
						}
					} else {
						WeixinJSBridge.call('hideOptionMenu');
						
					}
				
				}
			
			});
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>

	.fonts1{
		white-space: nowrap;       
		overflow: hidden;           
		text-overflow: ellipsis;   
	}
	.fonts2{
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; 
		overflow: hidden;
	}
	.content{
		width: 100%;min-height: 100vh;
	}
	
	.nolist{
		width: 140rpx;
		height: 200rpx;
		margin:200rpx auto;
		text-align: center;
		border: 1px solid transparent;
	}
	.nolist>image{
		width: 140rpx;
		height: 140rpx;
		display: block;
		margin-top: 40rpx;
	}
</style>
